<?php
// Allocate all necessary memory for the image.
// Special thanks to Alecos for providing the code.
ini_set('memory_limit', '-1');
// include image processing code
include('image.class.php');
$img = new Zubrag_image;
$img->max_x        = 700;
$img->max_y        = 50;
$img->GenerateThumbFile("images/23.jpg", "thumbs/23.jpg");//700/50

$img = new Zubrag_image;
$img->max_x        = 700;
$img->max_y        = 50;
$img->GenerateThumbFile("images/2113.jpg", "thumbs/2113.jpg");



